#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"
void test()
{
	St stack;
	initialize(&stack);
	//STPush(&stack, 1);
	//STPush(&stack, 2);
	//STPush(&stack, 3);
	//STPush(&stack, 4);
	int tmp=STEmpty(&stack);
	while (!STEmpty(&stack))
	{
		StDatatype top = STTop(&stack);
		printf("%d ", top);
		STPop(&stack);
	}
	stdestory(&stack);

}
int main()
{
	test();
}